package com.stone.boot.pipeline.infra.exception;

/**
 * 流水线运行异常
 *
 * @author Mr_wenpan@163.com 2021/8/6 10:47 上午
 */
public class PipelineRuntimeException extends RuntimeException {

    public PipelineRuntimeException(String code, Object... parameters) {
        super(String.format(code, parameters));
    }

    public PipelineRuntimeException(String code, Throwable cause, Object... parameters) {
        super(String.format(code, parameters), cause);
    }
}